class WlfwzsxxesController < ApplicationController
  before_action :set_wlfwzsxx, only: [:show, :edit, :update, :destroy]

  # GET /wlfwzsxxes
  # GET /wlfwzsxxes.json
  def index
    @wlfwzsxxes = Wlfwzsxx.all
  end

  # GET /wlfwzsxxes/1
  # GET /wlfwzsxxes/1.json
  def show
  end

  # GET /wlfwzsxxes/new
  def new
    @wlfwzsxx = Wlfwzsxx.new
  end

  # GET /wlfwzsxxes/1/edit
  def edit
  end

  # POST /wlfwzsxxes
  # POST /wlfwzsxxes.json
  def create
    @wlfwzsxx = Wlfwzsxx.new(wlfwzsxx_params)

    respond_to do |format|
      if @wlfwzsxx.save
        format.html { redirect_to @wlfwzsxx, notice: 'Wlfwzsxx was successfully created.' }
        format.json { render :show, status: :created, location: @wlfwzsxx }
      else
        format.html { render :new }
        format.json { render json: @wlfwzsxx.errors, status: :unprocessable_entity }
      end
    end
  end

  # PATCH/PUT /wlfwzsxxes/1
  # PATCH/PUT /wlfwzsxxes/1.json
  def update
    respond_to do |format|
      if @wlfwzsxx.update(wlfwzsxx_params)
        format.html { redirect_to @wlfwzsxx, notice: 'Wlfwzsxx was successfully updated.' }
        format.json { render :show, status: :ok, location: @wlfwzsxx }
      else
        format.html { render :edit }
        format.json { render json: @wlfwzsxx.errors, status: :unprocessable_entity }
      end
    end
  end

  # DELETE /wlfwzsxxes/1
  # DELETE /wlfwzsxxes/1.json
  def destroy
    @wlfwzsxx.destroy
    respond_to do |format|
      format.html { redirect_to wlfwzsxxes_url }
      format.json { head :no_content }
    end
  end

  private
    # Use callbacks to share common setup or constraints between actions.
    def set_wlfwzsxx
      @wlfwzsxx = Wlfwzsxx.find(params[:id])
    end

    # Never trust parameters from the scary internet, only allow the white list through.
    def wlfwzsxx_params
      params.require(:wlfwzsxx).permit(:BT, :SSDQ, :XXLB, :LXR, :QQ, :EMAIL, :XXNR, :LXDH, :FWLX, :SZQY, :SZDZ, :SZLC, :JZMJ, :JZMJ1, :FWHX, :ZXQK, :FWCX, :FWPZ, :ZSJG, :XXFBSJ, :XXLY, :WZ, :SJCJDW, :SJCJDWDM, :BZ)
    end
end
